package com.haoze.nurse.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Table(name = "EMR.NURSE_STATISTICS_DETAIL")
public class NurseStatisticsDetailEntity {

    @Id
    @Column(name = "DETAIL_ID")
    private String detailId;

    @Column(name = "DATA_VERSION", nullable=false, columnDefinition = "1")
    private Integer dataVersion;

    @Column(name = "GMT_CREATE")
    private Timestamp gmtCreate;

    @Column(name = "GMT_MODIFY", nullable=false)
    private Timestamp gmtModify;

    @Column(name = "HOSPITAL_ID")
    private String hospitalId;

    @Column(name = "STATISTICS_ID")
    private String statisticsId;

    @Column(name = "DATA_TEXT")
    private String dataText;

    @Column(name = "DATA_VALUE")
    private String dataValue;

    @Column(name = "UNIT")
    private String unit;

    @Column(name = "SORT_NO")
    private String sortNo;

    @Column(name = "INOUT_TYPE")
    private String inoutType;

    @Column(name = "FLAG")
    private String flag;

    public String getDetailId() {
        return detailId;
    }

    public void setDetailId(String detailId) {
        this.detailId = detailId;
    }

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Timestamp gmtModify) {
        this.gmtModify = gmtModify;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getStatisticsId() {
        return statisticsId;
    }

    public void setStatisticsId(String statisticsId) {
        this.statisticsId = statisticsId;
    }

    public String getDataText() {
        return dataText;
    }

    public void setDataText(String dataText) {
        this.dataText = dataText;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getSortNo() {
        return sortNo;
    }

    public void setSortNo(String sortNo) {
        this.sortNo = sortNo;
    }

    public String getInoutType() {
        return inoutType;
    }

    public void setInoutType(String inoutType) {
        this.inoutType = inoutType;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }
}
